//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-02A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Brandi Carlile's Mothership Weekend: Brandi Carlile, Black Pumas & The Hanseroth Twins - Friday','Seascape Golf, Beach and Tennis Resort','Miramar Beach, FL','Friday','5/10/2024','12:00 PM','6142831','Brandi-Carlile-s-Mothership-Weekend--Brandi-Carlile--Black-Pumas---The-Hanseroth-Twins---Friday-5-10-2024'],['Brandi Carlile's Mothership Weekend: Sara Bareilles, Nickel Creek & Devon Gilfillian - Saturday','Seascape Golf, Beach and Tennis Resort','Miramar Beach, FL','Saturday','5/11/2024','12:00 PM','6142832','Brandi-Carlile-s-Mothership-Weekend--Sara-Bareilles--Nickel-Creek---Devon-Gilfillian---Saturday-5-11-2024'],['Brandi Carlile's Mothership Weekend: Bonnie Raitt, Brandi Carlile & S.G. Goodman - Sunday','Seascape Golf, Beach and Tennis Resort','Miramar Beach, FL','Sunday','5/12/2024','12:00 PM','6142833','Brandi-Carlile-s-Mothership-Weekend--Bonnie-Raitt--Brandi-Carlile---S-G--Goodman---Sunday-5-12-2024'],['Brandi Carlile','Constellation Brands Performing Arts Center','Canandaigua, NY','Saturday','6/29/2024','7:30 PM','6302634','Brandi-Carlile-6-29-2024'],['Brandi Carlile','Tanglewood','Lenox, MA','Sunday','6/30/2024','6:00 PM','6306907','Brandi-Carlile-6-30-2024'],['Fairwell Festival: Billy Strings, CAAMP & Brandi Carlile - 3 Day Pass','Deschutes County Fairgrounds Expo Center','Redmond, OR','Friday','7/19/2024','TBD','6267815','Fairwell-Festival--Billy-Strings--CAAMP---Brandi-Carlile---3-Day-Pass-7-19-2024'],['FairWell Festival: Brandi Carlile, Whiskey Myers & Black Pumas (Time: TBD) - Sunday','Deschutes County Fairgrounds Expo Center','Redmond, OR','Sunday','7/21/2024','12:00 PM','6267818','FairWell-Festival--Brandi-Carlile--Whiskey-Myers---Black-Pumas--Time--TBD----Sunday-7-21-2024'],['JAS Aspen Labor Day Weekend Experience - 3 Day Pass','Snowmass Village At Town Park','Snowmass Village, CO','Friday','8/30/2024','TBD','6167215','JAS-Aspen-Labor-Day-Weekend-Experience---3-Day-Pass-8-30-2024'],['JAS Aspen Labor Day Weekend Experience: Brandi Carlile & Lukas Nelson - Friday','Snowmass Village At Town Park','Snowmass Village, CO','Friday','8/30/2024','6:00 PM','6179699','JAS-Aspen-Labor-Day-Weekend-Experience--Brandi-Carlile---Lukas-Nelson---Friday-8-30-2024'],['Brandi Carlile & The Colorado Symphony','Red Rocks Amphitheatre','Morrison, CO','Friday','9/6/2024','7:30 PM','6340874','Brandi-Carlile---The-Colorado-Symphony-9-6-2024']],'"Brandi Carlile"','https://www.ticketnetwork.com');